
package org.sky.axis2.security;
public class SimpleAuthService {
         public double getTax(double salary) {
                   // System.out.println("input salary=====" + salary);
                   if (salary > 10000) {
                            return 2000;
                   } else if (salary > 1000 && salary <= 10000) {
                            return 200;
                   } else {
                            return 0;
                   }
         }
}